package kr.hkit.powerjava.chapter14.submit;

import javax.swing.JPanel;
import javax.swing.JTextField;

public class ResultPanel extends JPanel {
	private JTextField resultText;

	/**
	 * Create the panel.
	 */
	public ResultPanel() {
		
		resultText = new JTextField();
		add(resultText);
		resultText.setColumns(20);

	}

	public String getResultText() {
		return resultText.getText();
	}

	public void setResultText(String text) {
		resultText.setText(text);
	}
}
